package com.adou.common.dto;

import com.adou.common.model.FlowTask;
import com.adou.common.model.base.BaseEntity;

public class FlowTaskOutDto extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long ifmid;

    private String cflowname;

    private String ctaskname;

    private String ctasktype;

    private String cconductusers;

    private String cconductids;

    private Boolean bIsDepHandle;

    private Boolean bIsAreaHandle;

    private Boolean bIsTracing;

    private Boolean bIsReturn;

    private Boolean bIsPrint;

    private Boolean bIsEdit;

    private Boolean bIsNotes;

    private Boolean bIsTel;

    private String cctrola;

    private String cctrolb;

    private String cctrolc;

    private String cctrold;

    public FlowTaskOutDto(FlowTask flowTask) {
        this.setId(flowTask.getId());
        this.setIfmid(flowTask.getIfmid());
        this.setCtaskname(flowTask.getCtaskname());
        this.setCtasktype(flowTask.getCtasktype());
        this.setCconductids(flowTask.getCconductids());
        this.setCconductusers(flowTask.getCconductusers());
        this.setbIsDepHandle(flowTask.getbIsDepHandle());
        this.setbIsAreaHandle(flowTask.getbIsAreaHandle());
        this.setbIsTracing(flowTask.getbIsTracing());
        this.setbIsReturn(flowTask.getbIsReturn());
        this.setbIsPrint(flowTask.getbIsPrint());
        this.setbIsEdit(flowTask.getbIsEdit());
        this.setbIsNotes(flowTask.getbIsNotes());
        this.setCflowname(flowTask.getCflowname());
        this.setCctrola(flowTask.getCctrola());
        this.setCctrolb(flowTask.getCctrolb());
        this.setCctrolc(flowTask.getCctrolc());
        this.setCctrold(flowTask.getCctrold());
        this.setbIsTel(flowTask.getbIsTel());
    }

    public Boolean getbIsTel() {
        return bIsTel;
    }

    public void setbIsTel(Boolean bIsTel) {
        this.bIsTel = bIsTel;
    }

    public Long getId() {
        return id;
    }

    public String getCctrola() {
        return cctrola;
    }

    public void setCctrola(String cctrola) {
        this.cctrola = cctrola == null ?"" :cctrola;
    }

    public String getCctrolb() {
        return cctrolb;
    }

    public void setCctrolb(String cctrolb) {
        this.cctrolb = cctrolb == null ? "" :cctrolb;
    }

    public String getCctrolc() {
        return cctrolc;
    }

    public void setCctrolc(String cctrolc) {
        this.cctrolc = cctrolc == null ? "" : cctrolc;
    }

    public String getCctrold() {
        return cctrold;
    }

    public void setCctrold(String cctrold) {
        this.cctrold = cctrold == null ? "" :cctrold;
    }

    public String getCflowname() {
        return cflowname;
    }

    public void setCflowname(String cflowname) {
        this.cflowname = cflowname == null ?"":cflowname;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIfmid() {
        return ifmid;
    }

    public void setIfmid(Long ifmid) {
        this.ifmid = ifmid;
    }

    public String getCtaskname() {
        return ctaskname;
    }

    public void setCtaskname(String ctaskname) {
        this.ctaskname = ctaskname == null ? "" : ctaskname;
    }

    public String getCtasktype() {
        return ctasktype;
    }

    public void setCtasktype(String ctasktype) {
        this.ctasktype = ctasktype == null ? "" : ctasktype;
    }

    public String getCconductusers() {
        return cconductusers;
    }

    public void setCconductusers(String cconductusers) {
        this.cconductusers = cconductusers == null ? "" : cconductusers;
    }

    public String getCconductids() {
        return cconductids;
    }

    public void setCconductids(String cconductids) {
        this.cconductids = cconductids == null ? "" : cconductids;
    }

    public Boolean getbIsDepHandle() {
        return bIsDepHandle;
    }

    public void setbIsDepHandle(Boolean bIsDepHandle) {
        this.bIsDepHandle = bIsDepHandle;
    }

    public Boolean getbIsAreaHandle() {
        return bIsAreaHandle;
    }

    public void setbIsAreaHandle(Boolean bIsAreaHandle) {
        this.bIsAreaHandle = bIsAreaHandle;
    }

    public Boolean getbIsTracing() {
        return bIsTracing;
    }

    public void setbIsTracing(Boolean bIsTracing) {
        this.bIsTracing = bIsTracing;
    }

    public Boolean getbIsReturn() {
        return bIsReturn;
    }

    public void setbIsReturn(Boolean bIsReturn) {
        this.bIsReturn = bIsReturn;
    }

    public Boolean getbIsPrint() {
        return bIsPrint;
    }

    public void setbIsPrint(Boolean bIsPrint) {
        this.bIsPrint = bIsPrint;
    }

    public Boolean getbIsEdit() {
        return bIsEdit;
    }

    public void setbIsEdit(Boolean bIsEdit) {
        this.bIsEdit = bIsEdit;
    }

    public Boolean getbIsNotes() {
        return bIsNotes;
    }

    public void setbIsNotes(Boolean bIsNotes) {
        this.bIsNotes = bIsNotes;
    }
}
